import request from '@/utils/request'

export function login(data) {
  return request({
    url: 'v1/manage/login',
    method: 'post',
    data
  })
}
export function logout() {
  return request({
    url: 'v1/manage/loginOut',
    method: 'post'
  })
}
export function verificaCode(data) {
  return request({
    url: 'v1/verificationCode/getCode',
    method: 'post',
    data
  })
}
export function getAdminInfo() {
  return request({
    url: 'v1/manage/getAdminInfo',
    method: 'post'
  })
}
